package com.uinfor.service;

import com.uinfor.entity.Payment;
import com.uinfor.entity.Result;
import com.uinfor.service.impl.PaymentFallbackService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "nacos-payment-provider",fallback = PaymentFallbackService.class)
public interface IPaymentService {
     @GetMapping("/payment/{id}")
     public Result<Payment> paymentSql(@PathVariable("id")Long id);




}
